<template>
    <div class="title">
        <img src="../../assets/icon/title.png">
        <slot></slot>
    </div>
</template>

<script>
    export default {
        name: "Title"
    }
</script>

<style scoped lang="less">
    .title{
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        img{
            width: 30px;
            height: 30px;
        }
    }
</style>
